package cn.com.bluemoon.daps.model.service;

import cn.com.bluemoon.daps.common.mp.IBmService;
import cn.com.bluemoon.daps.model.dto.DapModelHistoryDto;
import cn.com.bluemoon.daps.model.entity.DapDataModelOperateHistory;
import cn.com.bluemoon.daps.model.entity.DapDataModelTableScoreRule;
import cn.com.bluemoon.daps.model.vo.SearchModelHistoryVo;
import cn.com.bluemoon.daps.model.vo.SearchRecordTableVo;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * <p>
 * 申请发布版本记录表 服务类
 * </p>
 *
 * @author admin
 * @since 2020-08-03
 */
public interface DapDataModelOperateHistoryService extends IBmService<DapDataModelOperateHistory> {

    /**
     * 模型下表的列表
     * @param vo
     * @return
     */
    IPage<DapDataModelOperateHistory> getTableRecordList(SearchRecordTableVo vo);

    /**
     * 查看表的详细修改信息
     * @return
     */
    List<DapDataModelOperateHistory> getTableModifyList(String modelTableId, String applicationTime);

    /**
     * 更新版本记录id
     * @param recordId
     * @param modelId
     */
    void updateRecordId(String recordId, String modelId);

    /**
     * 版本历史表详情
     * @param vo
     * @return
     */
    IPage<DapModelHistoryDto> getModelHistory(SearchModelHistoryVo vo);
}
